package com.lyhw.model;

import java.io.Serializable;

/**
 * 标签的话，提供标签类别和内容及作者
 * @author lyp
 *
 */
public class Label implements Serializable {

    private String id;												//标签id
    private String objectid;									//标签所属图片的id
    private String typeid;										//标签类别
    private String content;									//标签内容
    private String author;										//标签作者
    private float x;												//标签的x位置
    private float y;												//标签的y位置
    private int order;											//标签的顺序
    private int dir;                                            //标签的方向

    Label(){}

    public Label(String content, String author, float x, float y, int order,int dir, String typeid) {
        this.content = content;
        this.author = author;
        this.x = x;
        this.y = y;
        this.order = order;
        this.dir = dir;
        this.typeid = typeid;
    }

    public int getDir() {
        return dir;
    }

    public void setDir(int dir) {
        this.dir = dir;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public String getTypeid() {
        return typeid;
    }
    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }
    public float getX() {
        return x;
    }
    public void setX(float x) {
        this.x = x;
    }
    public float getY() {
        return y;
    }
    public void setY(float y) {
        this.y = y;
    }
    public int getOrder() {
        return order;
    }
    public void setOrder(int order) {
        this.order = order;
    }
    public String getObjectid() {
        return objectid;
    }
    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }
}